Methods and systems for network connectivity

ABSTRACT

Methods and systems are provided for connecting an electronic device to a network. In some situations, the electronic device connects to a first network provider and pings a first server having a static internet protocol address and a second server having a dedicated uniform resource locator. If the electronic device receives a response from the first and second server, the electronic device maintains its connection to the first network provider. Otherwise, the electronic device connects to a second network provider and pings the first and second servers.

CROSS REFERENCE

This Application is a continuation application of patent applicationSer. No. 13/244,836, filed on Sep. 26, 2011 now issued as U.S. Pat. No.8,392,585, which is incorporated herein by reference in its entirety andto which application we claim priority under 35 USC § 120.

A Computer network is a collection of computers and devicesinterconnected by communications channels that facilitatecommunications. A computer network may allow sharing of resources andinformation among interconnected devices. A network may include theInternet, an intranet, and the extranet.

A local area network (LAN) is typically a small network constrained to asmall geographic area. A metropolitan area network (MAN) is typically anetwork constrained to metropolitan area, such as a city. A wide areanetwork (WAN) is typically a network that covers a large geographicarea. Wireless LANs are typically the wireless equivalents of LANs andWANs.

Networks may be interconnected to allow communication with a variety ofdifferent kinds of media, including twisted-pair copper wire cable,coaxial cable, optical fiber, power lines and various wirelesstechnologies. A network may include routers and routing protocols.

SUMMARY OF THE INVENTION

In an aspect of the invention, computer-implemented methods for testingnetwork connectivity for a network device comprise connecting to anetwork provider; pinging a first server having a static internetprotocol (IP) address with the aid of the network provider; pinging asecond server having a static uniform resource locator (URL) with theaid of the network provider; and determining whether to maintainconnectivity to said network provider based on whether a response wasreceived by said network device from said first server and/or whether aresponse was received by said network device from said second server. Inan embodiment, determining whether to maintain connectivity to saidnetwork provider is based on whether a response was received by saidnetwork device from said first server and whether a response wasreceived by said network device from said second server.

In some situations, said computer-implemented methods further compriseconnecting to an another network provider based on at least onecriterion selected from the group consisting of a bandwidth of theanother network provider, cost to maintain connectivity to the anothernetwork provider, cost to transmit information with the aid of theanother network provider, a download rate of the another networkprovider and an upload rate of the another network provider. In anembodiment, the at least one criterion is location-based, time based orbandwidth-based.

In an embodiment, pinging said first server comprises sending a pingpacket to the first server. In another embodiment, pinging said secondserver comprises sending a ping packet to the second server. In anotherembodiment, connectivity to the network provider is maintained if thefirst server responds to the network device in response to said pingingthe first server and/or the second server responds to the network devicein response to said pinging the second server. In another embodiment,said computer-implemented methods further comprise connecting to anothernetwork provider if the first server does not respond to the networkdevice in response to said pinging the first server and/or the secondserver does not respond to the network device in response to saidpinging the second server. In another embodiment, the network provideris selected from the group consisting of a wireless router, Bluetoothrouter, wired router, cellular network router, radiofrequency (RF)device and optoelectronic device.

In some situations, said computer-implemented methods further compriseconnecting to an additional network provider; pinging the first serverwith the aid of the additional network provider; pinging the secondserver with the aid of the additional network provider; and determiningwhether to maintain connectivity to the additional network providerbased on whether a response was received by the network device from thefirst server and/or whether a response was received by the networkdevice from the second server. In an embodiment, determining whether tomaintain connectivity to the additional network provider is based onwhether a response was received by the network device from the firstserver and whether a response was received by the network device fromthe second server. In another embodiment, connecting to said secondnetwork provider comprises terminating connectivity to said networkprovider.

In an embodiment, said network provider is selected from the groupconsisting of a wireless router, Bluetooth router, wired router,cellular network router, radiofrequency (RF) device and optoelectronicdevice. In another embodiment, the first and second servers are pingedsimultaneously.

In some embodiments, computer-implemented methods for testing networkconnectivity for a network device comprise connecting to a networkprovider; directing a first data packet from the network device to afirst server having a static internet protocol (IP) address, wherein thefirst data packet is directed with the aid of the network provider;directing a second data packet from the network device to a secondserver having a static uniform resource locator (URL), wherein thesecond data packet is directed with the aid of the network provider; anddetermining whether to maintain connectivity to the network providerbased upon a comparison of one or more data packets received by thenetwork device from the first server and the second server. In anembodiment, the first server comprises a domain name system (DNS)server. In another embodiment, the first data packet is an echo requestpacket. In another embodiment, the second data packet is an echo requestpacket. In another embodiment, directing said first data packet fromsaid network device to said first server comprises pinging the firstserver. In another embodiment, directing said second data packet fromsaid network device to said second server comprises pinging the secondserver. In another embodiment, connectivity to the network provider ismaintained if a first received data packet of said one or more datapackets received by the network device is the same as the first datapacket directed to the first server. In another embodiment, connectivityto the network provider is maintained if a second received data packetof said one or more data packets received by the network device is thesame as the second data packet directed to the second server.

In some situations, the computer-implemented methods further comprisereceiving a first received data packet from the first server and/orreceiving a second received data packet from the second server. In anembodiment, connectivity to the network provider is maintained if achecksum of the first received data packet matches a predetermined datapacket. In another embodiment, connectivity to the network provider ismaintained if a checksum of the second received data packet matches apredetermined data packet. In an embodiment, the computer-implementedmethods further comprise connecting to another network provider if thefirst received data packet is different from the first data packetand/or the second received data packet is different from the second datapacket.

In some situations, the computer-implemented methods further compriseconnecting to an another network provider; directing the first datapacket from the network device to the first server, wherein the firstdata packet is directed with the aid of the another network provider;directing the second data packet from the network device to the secondserver, wherein the second data packet is directed with the aid of theanother network provider; and determining whether to maintainconnectivity to the other network provider based upon a comparison ofone or more data packets received by the network device from the firstserver and the second server. In an embodiment, connecting to saidanother network provider comprises terminating connectivity to saidnetwork provider.

In an embodiment, connecting to said network provider comprises locatingsaid network provider. In an embodiment, said network provider isselected from the group consisting of a wireless router, Bluetoothrouter, wired router, cellular network router, radiofrequency (RF)device and optoelectronic device.

In an embodiment, said computer-implemented methods further comprisedetermining whether to maintain connectivity to the network providerbased on at least one criterion selected from the group consisting ofbandwidth, cost to maintain connectivity to the network provider, costto transmit information with the aid of the network provider, thedownload rate and the upload rate. In an embodiment, the at least onecriterion is location-based, time based or bandwidth-based.

In some situations, said computer-implemented methods further compriseconnecting to another network provider based on at least one criterionselected from the group consisting of the bandwidth of the other networkprovider, cost to maintain connectivity to the other network provider,cost to transmit information with the aid of the other network provider,the download rate of the other network provider and the upload rate ofthe other network provider. In an embodiment, connectivity to thenetwork provider is maintained upon comparison of a download rate or anupload rate to a predetermined limit. In an embodiment, the networkdevice is selected from the group consisting a personal computer (PC),tablet PC, slate PC, server, mainframe and Smart phone.

In some embodiments, computer-implemented methods for selecting anetwork provider for a network device comprise connecting to the networkprovider; pinging, with the aid of the network provider, a first serverhaving a static internet protocol (IP) address and a second serverhaving a static uniform resource locator (URL); and terminating aconnection to said network provider based upon any one networktermination condition selected from the group consisting of (a) aresponse was not received by the network device from said first serverand/or said second server after said pinging, (b) a network bandwidth(or latency, performance or cost-related factors) of another networkprovider is higher than a network bandwidth of said network provider,(c) a network cost of another network provider is lower than a networkcost of said network provider, (d) network access provided by anothernetwork provider is more robust than network access provided by saidnetwork provider, (e) connectivity between the network device andanother network provider is via wired connection and connectivitybetween the network device and said network provider is via wirelessconnection and (f) another network provider is in closer proximity tothe network device than said network provider. In an embodiment, theconnection to said network provider is terminated based upon at leastany two network termination conditions selected from said group. Inanother embodiment, the connection to said network provider isterminated based upon at least any three network termination conditionsselected from said group. In another embodiment, thecomputer-implemented method further comprises connecting to an anothernetwork provider. In another embodiment, connectivity between thenetwork device and the first network provider is via a wired or wirelessnetwork access point. In another embodiment, the first and secondservers are pinged simultaneously.

In some embodiments, computer-implemented methods for establishingnetwork connectivity for a network device comprise the steps of (a)connecting to a first network provider; (b) pinging, with the aid of thefirst network provider, a first server and a second server; and (c)selecting a second network provider over said first network provider ifsaid second network provider meets a criterion unmet by said firstnetwork provider. In an embodiment, said selecting is in response tosaid pinging. In another embodiment, said criterion is a location-based,time based or bandwidth-based criterion. In another embodiment, saidfirst server has a static internet protocol (IP) address. In anotherembodiment, said second server has a static uniform resource locator(URL). In another embodiment, said criterion is selected from the groupconsisting of (a) whether a response was received by the network devicefrom said first server and/or said second server after said pinging, (b)whether a network bandwidth of said second network provider is higherthan a network bandwidth of said first network provider, (c) whether anetwork cost of said second network provider is lower than a networkcost of said first network provider, (d) whether network access providedby said second network provider is more robust than network accessprovided by said first network provider, (e) whether connectivitybetween said network device and said second network provider is viawired connection and connectivity between said network device and saidfirst network provider is via wireless connection, and (f) whether saidsecond network provider is in closer proximity to the network devicethan said first network provider.

In some embodiments, computer-implemented method for establishingnetwork connectivity for a network device comprise connecting to a firstnetwork provider; locating a second network provider, the second networkprovider having a higher ranked order of preference than the firstnetwork provider based on one or more predetermined network connectivitycriteria; and connecting to the second network provider. In anembodiment, said locating comprises pinging a first server and a secondserver. In another embodiment, said first server has a static internetprotocol (IP) address. In another embodiment, said second server has astatic uniform resource locator (URL). In another embodiment, said oneor more predetermined network connectivity criteria are selected fromthe group consisting of network bandwidth, network cost and proximity ofthe network device to a network provider. In another embodiment, saidone or more predetermined network connectivity criteria arelocation-based, time based or bandwidth-based.

In some embodiments, one or more steps of the methods provided hereinare performed with the aid of a processor. In an example, the networkdevice is connected to the first network provider with the aid of aprocessor. In some embodiments, any of pinging, selecting and locatingare performed with the aid of one or more processors, which may belocated in network devices provided herein or remotely, such as inremote computer systems.

In another aspect of the invention, systems for establishing networkconnectivity for a network device comprise a network connectivitycontroller for locating network providers, the network connectivitycontroller having a processor for executing machine-readable codeconfigured to: establish a connection to a network provider; ping afirst server having a static internet protocol (IP) address with the aidof the network provider; ping a second server having a static uniformresource locator (URL) with the aid of the network provider; anddetermine whether to maintain connectivity to said network providerbased on whether a response was received by said network device fromsaid first server and/or whether a response was received by said networkdevice from said second server. The system further comprises a graphicaluser interface (GUI) for displaying a list of network providers to auser, the list of network providers generated with the aid of one ormore network connectivity criteria. In an embodiment, said one or morenetwork connectivity criteria are selected from the group consisting ofa bandwidth of another network provider, cost to maintain connectivityto another network provider, cost to transmit information with the aidof another network provider, a download rate of another network providerand an upload rate of another network provider. In another embodiment,said one or more network-connectivity criteria are location-based, timebased or bandwidth-based. In another embodiment, said machine-readablecode is configured to determine whether to maintain connectivity to saidnetwork provider based on whether a response was received by saidnetwork device from said first server and whether a response wasreceived by said network device from said second server.

In another aspect of the invention, computer-readable mediums comprisecode implementing methods, the methods comprising establishing aconnection to a network provider; pinging a first server having a staticinternet protocol (IP) address with the aid of the network provider;pinging a second server having a static uniform resource locator (URL)with the aid of the network provider; and determining whether tomaintain connectivity to said network provider based on whether aresponse was received by said network device from said first serverand/or whether a response was received by said network device from saidsecond server. In some cases, the connection to the network provider isestablished with the aid of a processor.

Additional aspects and advantages of the present disclosure will becomereadily apparent to those skilled in this art from the followingdetailed description, wherein only illustrative embodiments of thepresent disclosure are shown and described. As will be realized, thepresent disclosure is capable of other and different embodiments, andits several details are capable of modifications in various obviousrespects, all without departing from the disclosure. Accordingly, thedrawings and description are to be regarded as illustrative in nature,and not as restrictive.

INCORPORATION BY REFERENCE

All publications, patents, and patent applications mentioned in thisspecification are herein incorporated by reference to the same extent asif each individual publication, patent, or patent application wasspecifically and individually indicated to be incorporated by reference.

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features of the invention are set forth with particularity inthe appended claims. A better understanding of the features andadvantages of the present invention will be obtained by reference to thefollowing detailed description that sets forth illustrative embodiments,in which the principles of the invention are utilized, and theaccompanying drawings of which:

FIG. 1 shows a method for connecting a network-enabled device (also“network device” herein) to a network, in accordance with an embodimentof the invention;

FIG. 2 shows a method for connecting a network device to a network, inaccordance with an embodiment of the invention;

FIG. 3 shows a method for generating a ranked list of network providers,in accordance with an embodiment of the invention;

FIG. 4 shows a system having an electronic device and network providers,in accordance with an embodiment of the invention;

FIG. 5 shows a functional block diagram illustration of general purposecomputer hardware platforms, in accordance with an embodiment of theinvention; and

FIG. 6 shows a first network-enabled device communicating with a secondnetwork-enabled device, in accordance with an embodiment of theinvention.

DETAILED DESCRIPTION OF THE INVENTION

While various embodiments of the invention have been shown and describedherein, it will be obvious to those skilled in the art that suchembodiments are provided by way of example only. Numerous variations,changes, and substitutions may occur to those skilled in the art withoutdeparting from the invention. It should be understood that variousalternatives to the embodiments of the invention described herein may beemployed in practicing the invention.

The term “network,” as used herein, refers to a local area network(LAN), metropolitan area network (MAN), or wide area network (WAN). Insome situations, a network includes the Internet. A network includeswired and/or wireless components.

The term “router,” as used herein, refers to a device that forwards orrelays data packets across one or more networks.

The term “network provider,” as used herein, refers to one or morecomputer systems or devices for providing network connectivity to, orfacilitating network connectivity for, an electronic device. In somesituations, a network provider is a router or a plurality of routers.

The term “electronic device,” as used herein, refers to a computerdevice configured to connect to a network. In some cases, an electronicdevice is a portable electronic device. Examples of electronic devicesinclude Smart phones (e.g., iPhone®, Android®-enabled phone, HTC® phone,Blackberry®), laptops, tablet personal computers (e.g., iPad®), anddesktop computers (e.g., workstations, servers), cameras, gamingstations (e.g., Sony® PlayStation®, Microsoft® Xbox), televisions, musicplayers (e.g., MP3 players, radios, CD players) and video players (e.g.,DVD players). Electronic devices may be included in other components.For instance, an electronic device may be part of a residential orcommercial building, vehicle, or aircraft.

The term “network-enabled device,” as used herein, refers to anelectronic device configured to connect to, reconnect to, andcommunicate with one or more electronic devices with the aid of anetwork. In some example, a network-enabled device (also “networkdevice” herein) includes a Smart phone and personal computer (PC). As anexample, a network-enabled device is a desktop personal computer (PC),laptop PC, mainframe computer, set-top box, personal digital assistant,cellular telephone, media player, web pad, tablet PC, slate PC, or Smartphone. In some situations, a network-enabled device includes a networkinterface for facilitating network connectivity. A network interfaceincludes, for example, an Ethernet interface for connectivity to anetwork through a wired connection, or a wireless interface forconnectivity to a wireless provider that in turn provides connectivityto a network. A network-enabled device may include multiple wirelessinterfaces. A wireless provider may include one or more of a Wi-Fi (orWiFi) router and one or more channel access methods. In some cases, achannel access method is selected from frequency division multipleaccess (FDMA), wavelength division multiple access (WDMA), orthogonalfrequency division multiple access (OFDMA), based on Orthogonal,frequency-division multiplexing (OFDM), single-carrier FDMA (SC-FDMA)(or linearly-precoded OFDMA (LP-OFDMA)), time-division multiple access(TDMA), code division multiple access (CDMA) (or spread spectrummultiple access (SSMA)), direct-sequence CDMA (DS-CDMA),frequency-hopping CDMA (FH-CDMA), orthogonal frequency-hopping multipleaccess (OFHMA), multi-carrier code division multiple access (MC-CDMA),space division multiple access (SDMA), packet mode channel accessmethods (e.g., contention based random multiple access methods),duplexing methods (e.g., time division duplex (TDD), frequency divisionduplex (FDD)), global system for mobile communications (GSM), GSM withGPRS packet, bluetooth packet mode communication, IEEE 802.11b wirelesslocal area networks (WLAN's), high performance radio local area network(HIPERLAN/2) wireless networks, and G.hn. A wireless provider may beconfigured for second-generation wireless telephone technology (2G),third generation mobile telecommunications (3G), fourth generationcellular wireless standards (4G) or LTE Advanced (LTE) communicationstandard.

A network-enabled device may include multiple interfaces. In some cases,a network-enabled device includes an Ethernet interface and wirelessinterfaces for connectivity to a WiFi router, CDMA provider and/or GSMprovider.

The term “static,” as used in the context of network parameters herein,refers to a network parameter that does not change during a finiteperiod of time, such as a set or predetermined period of time. A staticinternet protocol (IP) address is an address that does not change withina predetermined (or set) period of time. In some situations, a static IPaddress is a dedicated IP address. A static uniform resource locator(URL) is a network (or web) address that does not change within apredetermined period of time. In some situations, a static URL is adedicated URL, such as a URL dedicated to an entity (e.g., business,individual). A static URL may be associated with one or more servers ofthe entity.

The term “connectivity,” as used herein, refers to a network-enabledelectronic device being in network communication with a networkprovider, such as a router (e.g., wired router, wireless router). Anetwork-enabled device has connectivity to a network provider if thenetwork-enabled device is able to communicate with the network provider,such as ping the network provider or send data (e.g., data packets) toor receive data from the network provider.

The term “ping,” as used herein, refers to a computer networkadministration utility used to test the reachability of a host on anetwork (including, but not limited to, an Internet Protocol (IP)network) and to measure the round-trip time for messages sent from theoriginating host to a destination computer. In some situations, duringpinging, one or more bits of information are sent from a network deviceto a server through a network provider. In some cases, pinging is also autility that sends (or transmits) internet control message protocol(ICMP) messages to test for connectivity. In some cases, pinging employsa low-level protocol, such as Internet Protocol (IP) or TransmissionControl Protocol (TCP), or other protocols, such as Hypertext TransferProtocol (HTTP), SSH, or Simple Mail Transfer Protocol (SMTP). In somesituations, a ping packet includes a data packet that enables a user tocheck or investigate various network connectivity factors, such asconnectivity, speed, bandwidth and/or response time.

There are methods currently available for connecting an electronicdevice, such as a portable electronic device, to a network. However, asrecognized herein, such methods have limitations. For example, incertain cases methods for connecting a portable electronic device to anetwork do not establish the most optimum connection, which may beassessed on the basis of network cost, network bandwidth and proximityto a router, for example. As another example, current methods forestablishing network connectivity may not continually optimize networkconnectivity in view of changing conditions, such as proximity to arouter and network bandwidth. Recognized herein is the need for improvedmethods for connecting an electronic device to a network.

Methods provided herein enable a network-enabled electronic device toconnect and reconnect to a network and, in some cases, optimize orimprove its network connectivity. In certain cases, methods providedherein enable a network-enabled electronic device to connect to anetwork that is optimum in view of one or more connectivity criteria (orrules) provided herein. In other cases, if an optimum connectivity isnot established, methods provided herein enable a network-enabledelectronic device to continually optimize network connectivity in viewof changing conditions.

Network Connectivity Methods

In an aspect of the invention, a method for establishing networkconnectivity for a network-enabled device comprises the network-enabledelectronic device (also “network-enabled device” herein) connecting to anetwork provider. Next, the network-enabled device pings a first serverhaving a static internet protocol (IP) address with the aid of thenetwork provider. The network-enabled device also pings a second serverhaving a static uniform resource locator (URL) with the aid of thenetwork provider. The first and second servers may be pingedsimultaneously or sequentially (i.e., the first after the second or thesecond after the first). Next, the network-enabled device determineswhether to maintain connectivity to the network provider based onwhether the network-enabled device receives a response from the firstserver and/or whether the network-enabled device receives a responsefrom the second server. The response in each case may be a confirmationthat the first and second servers were pinged by the network-enableddevice.

In some cases, upon pinging the second server having the static (ordedicated) URL (e.g., “Google.com”), a domain name system (DNS) serverin communication with the network provider resolves the URL to an IPaddress of the second server. A ping packet is then sent to the secondserver (at the resolved IP address). A response is generated by thesecond server and sent to the network provider and subsequently to thenetwork-enabled device. The lack of a response from the second servermay indicate that the second server is malfunctioning (or unavailable orunreachable) or that the DNS server in communication with the networkprovider is malfunctioning. In such a case, the network-enabled devicemay ping a third server having a dedicated URL (e.g., “Yahoo.com”). TheDNS server in communication with the network provider resolves the URLto an IP address of the third server. A ping packet is then sent to thethird server (at the resolved IP address). If a response is not receivedby the network-enabled device from the third server, then thenetwork-enabled device may concluded that the DNS server incommunication with the network provider is malfunctioning. In such acase, the network-enabled device connects to another network providerand the steps above are repeated.

In some situations, the network provider is selected from the groupconsisting of a wireless router, Bluetooth router, wired router,cellular network router, radiofrequency (RF) device and optoelectronicdevice. The first server has a static IP address (e.g.,“123.123.123.123”) and the second server has a static URL (e.g.,“Google.com”). In some cases, the static URL is updated, such as upon anetwork update.

In some cases, the first server is identified by a user-determined IPaddress, i.e., an IP address that is determined or provided by a useroperating the network-enabled device. In such a case, the user may inputthe IP address of the first server into a network configuration utilityof the network-enabled device, for example. Similarly, in some cases thesecond server is designated by a URL that is user-determined. Forexample, in the network configuration utility the user provides a stringthat defines the URL of the second server.

In an embodiment, the first server and second server are pingedsimultaneously. In another embodiment, the first server is pinged beforethe second server. In another embodiment, the second server is pingedbefore the first server. Pinging the first and second servers involvessending (or directing) a ping packet from the network-enabled device toeach of the first and second servers. In another embodiment, only thefirst or second server is pinged. In such a case, the response afterpinging the first or second server is assessed to determine whether tomaintain connectivity to the network provider.

In some embodiments, additional servers are pinged. In an embodiment, athird server having a static IP address or dedicated (or static) URL ispined. In another embodiment, at least 2, or 3, or 4, or 5, or 6, or 7,or 8, or 9, or 10, or 20, or 30, or 40, or 50, or 60, or 70, or 80, or90, or 100 other servers are pinged, each of which has a static IPaddress and/or dedicated URL.

In some situations, when the first server is pinged, the network-enableddevice sends a ping packet to the first server. Similarly, in somesituations, when the second server is pinged, the network-enabled devicesends a ping packet to the second server. The ping packet may includeone or more predetermined characters or character strings (e.g., “Helloworld”). In some cases, the ping packet includes a file withmachine-encoded data, such as a media file (e.g., encoded media file).

In some situations, if a response is not received from either or both ofthe first server and the second server, then the network-enabled deviceconnects to another network provider (e.g., router). The network-enableddevice then pings the first and second server, as described above.

In some situations, if a response is received from one or both of thefirst and second servers, then the network-enabled device connects to asecond network provider based on at least one predetermined networkconnectivity criterion (“network connectivity criterion”) selected fromthe group consisting of the bandwidth of the other network provider,cost to maintain connectivity to the other network provider, cost totransmit information with the aid of the other network provider, thedownload rate of the other network provider and the upload rate of theother network provider. For instance, the network-enabled deviceconnects to the second network provider if the second network providerenables a higher network bandwidth than the first network provider. Insuch a case, all connections to first network providers may beterminated. In some situations, the network-enabled device continues todetermine whether other network providers may provide a networkconnectivity that is improved with respect to the second networkprovider based on one or more network connectivity criteria (or rules)provided herein.

In some embodiments, the network-enabled device maintains connectivityto a network provider if, in response to pinging the first server andthe second server, the first server responds to the network-enableddevice and/or the second server responds to the network-enabled device.In an embodiment, connectivity is maintained if the first server and thesecond server both respond to the network-enabled device in response tothe network-enabled device pinging the first and second server. Inanother embodiment, connectivity is maintained if either one of thefirst server and the second server responds to the network-enableddevice. In an example, a response from the first server is sufficientfor the network-enabled device to retain connectivity to the firstnetwork provider. In some cases, however, the network-enabled deviceconnects to another network provider if the first server does notrespond to the network-enabled device and/or the second server does notrespond to the network-enabled device.

The network-enabled device may connect to another network provider evenif the first server and second server respond to the network-enableddevice but one or more network connectivity criteria are not satisfied.In an example, the network-enabled device connects to another networkprovider if the network bandwidth is below a predetermined limit. Insome cases, the network-enabled device connects to another networkprovider if the network bandwidth is below about 100 kbit/s, or 500kbit/s, or 1 Mbit/s, or 2 Mbit/s, or 5 Mbit/s, or 10 Mbit/s. In anembodiment, the network-enabled device connects to another networkprovider if the network bandwidth is below a predetermined limit, suchas a user-defined limit.

In an example, if the first server and/or second server do not respondto the network-enabled device, or if one or more network connectivitycriteria (e.g., network bandwidth above a predetermined limit) are notmet, the network-enabled device connects to a second network providerand sequentially or simultaneously pings the first server and secondserver with the aid of the second network provider.

In some cases, connecting to the second network provider comprisesterminating connectivity to other network providers. Next, thenetwork-enabled device determines whether to maintain connectivity tothe second network provider based on whether a response is received bythe network device from the first server and/or whether a response isreceived by the network device from the second server.

In some situations, if the network-enabled device does not receive aresponse from the second server, the network-enabled device determinesthat it is not in network communication with a domain name system (DNS)server. This may be due to a malfunctioning DNS server, for example. Insome situations, the first server is a domain name system (DNS) server.

In some situations, the second server includes one or more servers forhosting the URL. In an example, the second server is a dedicated serverfor hosting the URL.

FIG. 1 shows a method 100 for connecting a network-enabled device (also“network device” herein) to a network, in accordance with an embodimentof the invention. In a first step 105, the network device connects to anetwork provider, such as a wired or wireless network router. Next, in asecond step 110, the network device pings a first server having a staticIP address. In a third step 115, the network device pings a secondserver having a static URL. Next, in a fourth step 120, the networkdevice determines whether a response (e.g., ping packet) was receivedfrom the first server and the second server. If a response was notreceived from the first server and the second server, then in a fifthstep 125 the network device connects to another network provider, andthe method 100 is repeated. If a response was received from the firstserver and the second server, then in an optional sixth step 130 thenetwork device determines whether one or more network connectivityfactors provided herein, such as, e.g., bandwidth, upload rate, and/ordownload rate, are met. If the one or more network connectivity factorsare not met, then the network device connects to another networkprovider and the method 100 is repeated. However, if the one or morenetwork connectivity factors are met, then in a seventh step 135 thenetwork device maintains the connection (e.g., wired connection,wireless connection) to the network provider. A user operating thenetwork device will then use the network, as desired, such as, forexample, to navigate the World Wide Web or send and receive electronicmails.

The network device may connect to another network provider using thesame network interface (e.g., WiFi interface) or using another networkinterface. In an example, in step 105 the network device connects to aWiFi router using a first wireless interface (e.g., WiFi interface) ofthe network device. Following step 130, the network device connects to aGSM or CDMA provider using a second wireless interface configured toenable the network device to communicate with the GSM or CDMA provider,and the method 100 is repeated using the second wireless interface.

As an alternative to step 120, the network device determines whether aresponse was received by the second server having the static URL. Insuch a case, if a response is received, then the network devicemaintains the connection to the network provider. The response from thefirst server in such a case may be used for various network diagnosticpurposes, such as upload rate and download rate.

As an alternative to or in conjunction with the network-enabled devicepinging the first and second servers, establishing connectivity to anetwork provider includes directing data packets from thenetwork-enabled device to the first server and the second server. Insome situations, data packets may be used in place of or in conjunctionwith ping packets.

In some embodiments, a method for establishing network connectivity fora network device comprises connecting to a network provider anddirecting a first data packet to a first server having a static internetprotocol (IP) address. The first data packet is directed with the aid ofthe network provider. That is, the network provider brings the networkdevice in communication with the first server. Next, the network devicedirects a second data packet to a second server having a static uniformresource locator (URL). The second data packet is directed with the aidof the network provider. That is, the network provider brings thenetwork device in communication with the second server. The first andsecond data packets are directed to the first and second servers,respectively, either sequentially or simultaneously. In some cases thenetwork device directs the second data packet to the second serverbefore directing the first data packet to the first server. Next, thenetwork device determines whether to maintain connectivity to thenetwork provider based upon a comparison of one or more data packetsreceived by the network device from the first server and the secondserver. In some cases, the comparison comprises performing a checksum todetermine the similarity between the data packets received by thenetwork device and the first and second data packets.

Next, the network-enabled device determines whether any data packetswere received from the first server and/or second server. In somesituations, if no data packet is received by the network device from thefirst server or the second server, then the network device terminatesthe connection to the network provider and connects to another networkprovider, if one is available. A data packet may not be received fromthe first server and/or the second server for various reasons, such as,for example, a broken link between the network provider and the firstand/or second servers, a malfunctioning network, poor network integrity,or dysfunctional first and/or second servers.

In some situations, the first server is a domain name system (DNS)server. In an example, the first data packet and/or the second datapacket is an echo request packet.

In some situations, the second server includes one or more servers forhosting the URL. In an example, the second server is a dedicated serverfor hosting the URL.

In some situations, the network-enabled device (also “network device”herein) directs the first data packet to the first server by firstpinging the first server. Upon successfully pinging the first server,the network device directs the first data packet to the first server.Similarly, the network device directs the second data packet to thesecond server by first pinging the second server. Upon successfullypinging the second server, the network device directs the second datapacket to the second server. The network device then determines variousnetwork connectivity factors based upon the time taken to receive datapackets from the first and second servers, the time taken to upload thefirst and second data packets to the first and second servers, orwhether received data packets match what was transmitted to the firstand second servers.

The network device maintains connectivity to the network provider if afirst received data packet of the one or more data packets received bythe network device is the same as the first data packet directed to thefirst server. In some situations, however, the network device maintainsconnectivity if the first received data packet is at least about 1%, or5%, or 10%, or 15%, or 20%, or 25%, or 30%, or 35%, or 40%, or 45%, or50%, or 55%, or 60%, or 65%, or 70%, or 75% or 80%, or 85%, or 90%, or95%, or 99% similar to the first data packet. Such similarity may beassessed by comparing the data packets to one another, such as, forexample, by comparing character strings to one another if the datapackets are character strings.

Similarly, the network device maintains connectivity to the networkprovider if a second received data packet of the one or more datapackets received by the network device is the same as the second datapacket directed to the second server. In some situations, however, thenetwork device maintains connectivity if the second received data packetis at least about 1%, or 5%, or 10%, or 15%, or 20%, or 25%, or 30%, or35%, or 40%, or 45%, or 50%, or 55%, or 60%, or 65%, or 70%, or 75% or80%, or 85%, or 90%, or 95%, or 99% similar to the second data packet.

A connection to the network provider may be maintained if a checksum ofthe first received data packet matches a predetermined data packet. Inan example, connectivity is maintained if the first received data packetmatches a predetermined string (e.g., “Hello world”). In othersituations, connectivity to the network provider is maintained if achecksum of the second received data packet matches a predetermined datapacket. As an alternative, connectivity to the network provider ismaintained if the first data packet matches the first received datapacket and/or the second data packet matches the second received datapacket. In some cases, connectivity is maintained if both the first andsecond data packets match the first and second received data packets,respectively.

In some situations, if the first received data packet is different fromthe first data packet and/or the second received data packet isdifferent from the second data packet, the network-enabled device (also“network device” herein) connects to another network provider. In anexample, the network device searches for, finds and connects to anothernetwork provider, such as another wireless router.

One or both of the first and second data packets may be used todetermine an upload and download rate of the network provided by thenetwork provider. In an example, the network-enabled device uses therate at which the first data packet is uploaded to the first server anddownloaded from the first server and/or a rate at which the second datapacket is uploaded to the second server and downloaded from the secondserver to determine an upload rate and download rate, which may be anaveraged upload rate and download rate for the network. For example, theupload rate is averaged using the upload rate(s) to the first and secondservers and the download rate is averaged using the download rate(s)from the first and second servers. This may in turn enable thenetwork-enabled device to determine whether to maintain connectivity tothe network provider or connect to another network provider.

If no network access is provided by the network provider or if networkaccess provided by the network provider does not meet one or morenetwork connectivity criteria or factors (e.g., upload rate, downloadrate, or network cost), then the network device connects to anothernetwork provider and repeats the methods outlined above. In an example,if the network device connects to another network provider, the networkdevice directs the first data packet to the first server and the seconddata packet to the second server. The first and second data packets aredirected (or sent to) the first and second servers, respectively, withthe aid of the other network provider. In such a case, the networkdevice also determines whether to maintain connectivity to the othernetwork provider based upon a comparison of one or more data packetsreceived by the network device from the first server and the secondserver, as described above.

In some cases, upon connecting to another network provider the networkdevice terminates its connection to other network providers. In othercases, however, the network device maintains its connection (orconnectivity) to one or more other network providers. This may enablethe network device to find and establish improved network connectivityif and when it becomes available.

FIG. 2 shows a method 200 for connecting a network-enabled device (also“network device” herein) to a network, in accordance with an embodimentof the invention. In a first step 205, the network device connects to anetwork provider, such as a wired or wireless network router. Next, in asecond step 210, the network device directs a first data packet to afirst server having a static IP address. In a third step 215, thenetwork device directs a second data packet to a second server having astatic URL. Next, in a fourth step 220, the network device determinewhether any data packets were received from the first server and/orsecond server. The network device may continually monitor for anyreceived data packets or monitor at predetermined intervals, such asever 1 second, 10 seconds, 30 seconds, 1 minute, 5 minutes, or 10minutes. In some cases, if no data packets are received, then in a fifthstep 225 the network device connects to another network provider and themethod 200 is repeated. In other cases, if a data packet is receivedfrom at least one of the first server and the second server, then in asixth step 230 the network device determines whether the data packetreceived by the network device is the same as either the first or seconddata packet. In an example, if a first received data packet is receivedby the network device from the first server and a second received datapacket is received by the network device from the second server, thenthe network device determines whether the first received data packet isthe same as the first data packet and whether the second received datapacket is the same as the second data packet. If the data packets arenot the same, then the network device connects to another networkprovider and the method 200 is repeated.

In an embodiment, connectivity to the network provider is maintained ifat least one received data packet is the same as either the first orsecond data packet. In another embodiment, connectivity to the networkprovider is maintained if the first received data packet from the firstserver is the same as the first data packet, and the second receiveddata packet from the second server is the same as the second datapacket.

In some situations, in a seventh step 235 the network device determineswhether one or more network connectivity factors provided herein, suchas, e.g., bandwidth, upload rate, and/or download rate, are met when thenetwork device accesses the network through the network provider. Insome cases, if the one or more network connectivity factors are not met,then the network device connects to another network provider and themethod 200 is repeated. However, if the one or more network connectivityfactors are met, then in an eighth step 240 the network device maintainsthe connection (e.g., wired connection, wireless connection) to thenetwork provider. A user operating the network device may then use thenetwork, as desired.

In some embodiments, connecting to a network provider first entailslocating the network provider in a search location. In an embodiment,the search location is a predetermined location determined by a user ofthe network-enabled device. The predetermined location may be a businessor residential location, or public location (e.g., park, street). Inanother embodiment, the search location is within a predetermined radiusfrom a location of the user. In some situations, the search location hasa radius of at least about 1 meter (“m”), or 2 m, or 3 m, or 4 m, or 5m, or 6 m, or 7 m, or 8 m, or 9 m, or 10 m, or 20 m, or 30 m, or 40 m,or 50 m, or 60 m, or 70 m, or 80 m, or 90 m, or 100 m, or 200 m, or 300m, or 400 m, or 500 m, or 600 m, or 700 m, or 800 m, or 900 m, or 1000m, or 2000 m, or 3000 m, or 4000 m, or 5000 m. In some cases, the searchlocation is determined by the user or updated by the network device asthe user changes his or her location.

In some cases, once a network-enabled device has connected to a networkprovider, the network-enabled device determines whether to maintainconnectivity to the network provider based on one or more networkconnectivity criteria selected from the group consisting of networkbandwidth (“bandwidth”), cost to maintain connectivity to the networkprovider, cost to transmit information with the aid of the networkprovider, the download rate and the upload rate. In some situations, thenetwork-enabled device makes a similar determination as to anothernetwork provider and connects to the other network provider if improvednetwork conditions are provided by the other network provider.

In one example, the network device connects to a first network provider(e.g., wireless router) and pings a the first server (with a static IPaddress) and second server (with a dedicated URL). Upon receiving aresponse from the first and second servers, the network devicedetermines whether network access via the first network provider isoptimum (or preferable) by calculating an upload rate and download rateof the network provided by the first network provider. If the upload anddownload rates are above a predetermined limit, the network devicemaintains its connection to the first network provider and a user mayaccess the network through the first network provider. In some cases,the network device also connects to a second network provider and pingsthe first and second servers. Connection to the second network providermay be made while the network device is still connected to the firstnetwork device. Alternatively, the network device may terminate itsconnection to the first network provider and connect to the secondnetwork provider. Upon receiving a response from the first and secondservers, the network device determines whether network connectivity viathe second network provider is optimum by calculating an upload rate anddownload rate of the network provided by the first network provider. Ifthe upload and download rates are improved with respect to the uploadand download rates provided by the first network provider, then thenetwork device terminates its connection to the first network providerand maintains (or establishes) its connection to the second networkprovider.

In some situations, when the network-enabled device has the option ofusing multiple network providers (e.g., two, five or ten networkproviders), such as a first or second network provider, to connect tothe network, the network-enabled device uses the second network providerif the network-enabled device determines that network conditions usingthe second network provider are optimum, improved or preferable ascompared to network conditions using the first network provider. Thisscenario may be relevant if the network-enabled device has pinged thefirst and second server with the aid of the first and second networkproviders and in both cases a response was received by thenetwork-enabled device. The network-enabled device uses the secondnetwork device (as opposed to the first network device) based upon adetermining at least one network connectivity criterion selected fromthe group consisting of the bandwidth of the second network provider,cost to maintain connectivity to the second network provider, cost totransmit information with the aid of the second network provider, thedownload rate of the second network provider, the upload rate of thesecond network provider and mode of connectivity (i.e., wiredconnectivity or wireless connectivity). As an example, if thenetwork-enabled device determines that the cost for connecting to andusing the network via the second network provider is lower than the costfor connecting to and using the network via the first network provider,the network-enabled device accesses the network via the second networkprovider. As another example, if the network-enabled device determinesthat the network bandwidth via the second network provider is greaterthan the network bandwidth via the first network provider, then thenetwork-enabled device accesses the network via the second networkprovider. As another example, if network access via the second networkprovider is through a wired connection and network access via the firstnetwork provider is through a wireless connection, and wired connectionsare preferable over wireless connection, then the network-enabled deviceaccesses the network via the second network provider.

In some embodiments, a method for establishing network connectivity fora network device comprises connecting to a network provider and pinging,with the aid of the network provider, a first server having a staticinternet protocol (IP) address and/or a second server having a static(or dedicated) uniform resource locator (URL). Next, a connection to thenetwork provider is terminated based upon any one network terminationcondition selected from the group consisting of (a) a response was notreceived by the network device from the first server and/or the secondserver after pinging, (b) a network bandwidth of another networkprovider is higher than a network bandwidth of the network provider, (c)a network cost of another network provider is lower than a network costof the network provider, (d) network access provided by another networkprovider is more robust than network access provided by the networkprovider, (e) connectivity between the network device and anothernetwork provider is via wired connection and connectivity between thenetwork device and the network provider is via wireless connection and(f) another network provider is in closer proximity to the networkdevice than the network provider. In some situations, the connection tothe network provider is terminated based upon any two, or any three, orany four, or any five network termination conditions selected from thegroup. In other situations, the connection to the network provider isterminated based upon all network termination conditions.

Connectivity between the network device and the first network provideris via a wired or wireless network access point. That is, in some casesconnectivity between the network device (also “network-enabled device”herein) is through a wired connection (e.g., coax, opto-electronic) tothe first network provider, and in other cases connectivity is through awireless connection (e.g., WiFi, Bluetooth) to the first networkprovider. Network providers are connected to a network, such as one ormore servers providing network access to the World Wide Web, via wiredor wireless connections to one or more machines with access to thenetwork.

In some embodiments, a method for establishing network connectivity fora network device, comprises connecting a network device to a firstnetwork provider. Next, with the aid of the first network provider, thenetwork device pings a first server and a second server. In somesituations, one or both of the first and second servers have a static IPaddresses. In other situations, one or both of the first and secondservers have static URLs. In other situations, the first server has astatic IP address and the second server has a static URL.

Next, the network device terminates its connection to the first networkprovider and subsequently (or simultaneously) establishes a connectionto a second network provider if the second network provider meets one ormore criteria unmet by the first network provider. In an embodiment, theone or more criteria are selected from the group consisting of (a)whether a response was received by the network device from the firstserver and/or the second server after pinging, (b) whether a networkbandwidth of the second network provider is higher than a networkbandwidth of the first network provider, (c) whether a network cost ofthe second network provider is lower than a network cost of the firstnetwork provider, (d) whether network access provided by the secondnetwork provider is more robust than network access provided by thefirst network provider, (e) whether connectivity between the networkdevice and the second network provider is via wired connection andconnectivity between the network device and the first network provideris via wireless connection, and (f) whether the second network provideris in closer proximity to the network device than the first networkprovider.

In some situations, the connection between the network device and thefirst network provider is terminated if, in response to the networkdevice pinging the first server and second server, a response is notreceived by the network device from the first server or the secondserver. Alternatively, the connection is terminated if a response is notreceived by the network device from the first server and the secondserver.

In some cases, a method for establishing network connectivity for anetwork-enabled device, comprises the network-enabled device connectingto a first network provider (e.g., wireless router) and locating asecond network provider. The second network provider has a higher rankedorder of preference than the first network provider based on one or morepredetermined network connectivity criteria. For example, the secondnetwork provider has a higher network bandwidth than the first networkprovider. Next, the network-enabled device connects to the secondnetwork provider. The one or more predetermined network connectivitycriteria is selected from the group consisting of network bandwidth,network cost, and proximity of the network device to a network provider.

In some cases, the network-enabled device selects network providers froma list of network providers generated by the network-enabled device. Thelist may include network providers within a predetermined location orwithin a predetermined search radius, such as a radius of at least about1 meter (“m”), or 2 m, or 3 m, or 4 m, or 5 m, or 6 m, or 7 m, or 8 m,or 9 m, or 10 m, or 20 m, or 30 m, or 40 m, or 50 m, or 60 m, or 70 m,or 80 m, or 90 m, or 100 m, or 200 m, or 300 m, or 400 m, or 500 m, or600 m, or 700 m, or 800 m, or 900 m, or 1000 m, or 2000 m, or 3000 m, or4000 m, or 5000 m. Network providers may be ranked by order ofpreference, which is determined on the basis of network connectivityfactors. Alternatively, network providers may be ranked on the basis ofwhether a response is received by the network-enabled device uponpinging the first and/or second server. A network provider at the top ofthe list may have received a response from both the first and secondservers whereas a network provider at the bottom of the list might nothave received a response from either the first or second server. Theranking may be a weighed ranking. In some cases, the ranking may beweighed with the aid of network connectivity factors. In an example, theranking is weighted on the basis of network bandwidth—i.e., un-weightedrank order×network bandwidth/total network bandwidth summed across allnetwork providers in the list.

The rank order may be saved in a storage location of the network-enableddevice such as a data file or memory location, and updated manually by auser or at a predetermined interval, such as every 1 or more second, or2 or more second, or 3 or more second, or 4 or more second, or 5 or moresecond, or 10 or more seconds, or 30 or more seconds, or 1 or moreminutes, or 5 or more minutes, or 10 or more minutes, or 30 or moreminutes, or 1 or more hours, or 12 or more hours, or 1 or more days.

In an example, the first network provider has a higher ranked order ofpreference than the second network provider if the first networkprovider enables a higher network bandwidth than the second networkprovider. The network device connects to the first network provider fromthe list but continually or intermittently determines whether networkconnectivity is optimum or more preferable network access is provided byanother network provider. If network access through the second networkprovider is preferable with respect to the first network provider, suchas if the second network provider offers cheaper internet access orhigher network bandwidth, then the network device terminates theconnection to the first network provider and connects to the secondnetwork provider.

In an embodiment, the network device connects to a network provider onlyif the network device successfully pings a first server and a secondserver (i.e., a response is received by the network provider afterpinging the first and second servers). In an embodiment, the firstserver has a static internet protocol (IP) address and the second serverhas a static (or dedicated) uniform resource locator (URL).

In some situations, the second network provider is located by searchingfor other network providers within a predetermined or user-selectedsearch radius of at least about 1 meter (“m”), or 2 m, or 3 m, or 4 m,or 5 m, or 6 m, or 7 m, or 8 m, or 9 m, or 10 m, or 20 m, or 30 m, or 40m, or 50 m, or 60 m, or 70 m, or 80 m, or 90 m, or 100 m, or 200 m, or300 m, or 400 m, or 500 m, or 600 m, or 700 m, or 800 m, or 900 m, or1000 m, or 2000 m, or 3000 m, or 4000 m, or 5000 m. The network devicethen generates a list of network providers within the search radius.

FIG. 3 shows a method 300 for generating a ranked list of networkproviders, in accordance with an embodiment of the invention. In a firststep 305, the network-enabled device searches for network providers(e.g., WiFi access points, 2G network, 3G network, 4G network). In anembodiment, the search is within a predetermined search radius, such asa radius of at least about 1 meter (“m”), or 2 m, or 3 m, or 4 m, or 5m, or 6 m, or 7 m, or 8 m, or 9 m, or 10 m, or 20 m, or 30 m, or 40 m,or 50 m, or 60 m, or 70 m, or 80 m, or 90 m, or 100 m, or 200 m, or 300m, or 400 m, or 500 m, or 600 m, or 700 m, or 800 m, or 900 m, or 1000m, or 2000 m, or 3000 m, or 4000 m, or 5000 m. In another embodiment,the search radius is a user-selected search radius. In anotherembodiment, the search is within a predetermined or user-selectedlocation, such as a building (e.g., shopping mall, school).

Next, in a second step 310, the network-enabled device generates a listof network providers based on the search conducted in the first step305. In a third step 315, the network-enabled device ranks the networkproviders based on one or more primary network connectivity factors. Inan embodiment, the one or more primary network connectivity factors areselected from the group consisting of bandwidth, cost to maintainconnectivity to the network provider, cost to transmit information withthe aid of the network provider, the download rate, the upload rate, andwhether a ping packet is received from a first server and/or whether aping packet is received from a second server (see above). In an example,a network provider offering network connectivity at a lower cost thananother network provider has a higher rank. In another embodiment, theone or more network connectivity factors include proximity to networkproviders. In such a case, a network provider that is close to thenetwork-enabled device (as measured by the signal strength, for example)has a higher rank than another network provider that is further awayfrom the network-enabled device. The network-enabled device generates aranked list based on the one or more primary network connectivityfactors.

In an alternative embodiment, in the third step 315 the ranked list ofnetwork providers is generated by assigning the one or more networkproviders on the list generated in the second step 310 a randomposition. This is accomplished with the aid of a random number generatoror pseudo random number generator. In such a case, a network providerthat would otherwise have a lower rank than another network provider mayappear at the top of the ranked list of network providers. As anotheralternative, the list of network providers in the second step 310 ispopulated in the order in which network providers are identified by thenetwork-enabled device and the third step 315 is precluded. In anexample, the list of network providers is populated in the order inwhich the network providers respond to the network-enabled device, suchas, for example, the network-enabled device pinging the networkproviders. In such a case, the first to respond is first on the list,the second to respond is second on the list, and so on. In anotherexample, the list of network providers is populated in the order inwhich the network-enabled device receives some identifiable materialfrom the network providers. The identifiable material includes text orother data that permits the network-enabled device to identify each ofthe network providers.

Next, in a fourth step 320, the network-enabled device tests the networkproviders on the ranked list based on one or more secondary networkconnectivity factors. The one or more secondary network connectivityfactors are selected from the group consisting of bandwidth, cost tomaintain connectivity to the network provider, cost to transmitinformation with the aid of the network provider, the download rate, theupload rate, and whether a ping packet is received from a first serverand/or whether a ping packet is received from a second server (seeabove). In an example, if the ranked list is randomly populated, thenthe secondary network connectivity factors aid in refining the list toidentify preferable or more preferable network providers. A networkprovider may be preferable if, for example, the network providerprovides an upload rate, download rate and/or a network bandwidth(“bandwidth”) at or above a predetermined limit or greater than othernetwork providers on the ranked list.

Next, in a fifth step 325, the network-enabled device reorders the listof network providers based upon the results of the test in the fourthstep 320. In some situations, testing the network providers based on oneor more secondary network connectivity factors does not result in anyreordering of the list generated in the second step 310 and third step315.

In a sixth step 330, the network-enabled device connects to a networkprovider at the top of the reordered list as generated in the fifth step325. In some situations, the method 300 is repeated to continually orperiodically update the list of network providers such that the mostpreferable network provider is at the top of the list. In an example, ifthe order of the network providers changes, the network-enabled deviceconnects to a new network provider at the top of the list. In othersituations, the method 300 is repeated manually, such as by request froma user operating the network-enabled device.

In an embodiment, the network-enabled device stores lists of networkproviders in a list or data file in memory, cache, or other storagelocation (e.g., hard disk) of the network-enabled device. In otherembodiments, the network-enabled device stores the lists of networkproviders on a server. In some cases, the list is continually updatedand the server includes the most up-to-date list of network providers.If the network-enabled device has a global positioning service (GPS)feature or is able to triangulate its location, then providing thelocation of the network-enabled device with the list of networkproviders enables generation of a map of preferable network providers asa function of location.

Network Connectivity Criteria

Another aspect of the invention provides network connectivity criteria(or rules). Such rules can be used to determine which network providedto employ for network access. For instance, a rule may specify that anetwork provider will be selected on the basis of upload and downloadrates. In such a case, a network-enabled device connects to a networkprovider and pings a first serer having a static IP address and a secondserver having a static URL. This is repeated for any other networkproviders. A list of network providers is generated having networkprovides that enabled the network-enabled device to successfully pingthe first and second servers. From the list, the network-enabled deviceselects the network provider that provides the highest upload anddownload rates.

In some embodiments, network connectivity rules are selected from abandwidth of the another network provider, cost to maintain connectivityto the another network provider, cost to transmit information with theaid of the another network provider, a download rate of the anothernetwork provider and an upload rate of the another network provider.

In some embodiments, network connectivity rules include (a) whether aresponse was received by the network device from the first server andthe second server after pinging the first server and the second server,(b) whether a network bandwidth of the second network provider is higherthan a network bandwidth of the first network provider, (c) whether anetwork cost of the second network provider is lower than a network costof the first network provider, (d) whether network access provided bythe second network provider is more robust than network access providedby the first network provider, (e) whether connectivity between thenetwork device and the second network provider is via wired connectionand connectivity between the network device and the first networkprovider is via wireless connection, and (f) whether the second networkprovider is in closer proximity to the network device than the firstnetwork provider.

Network connectivity rules may be stored on a network locationaccessible by a network-enabled device or stored in a storage location(e.g., memory, hard disk, cache) of the network-enabled device. Networkconnectivity rules may be updated manually or at predetermined times,such as at predetermine intervals (upon a system or software update, forexample). Network connectivity rules in some cases are user-defined. Insuch a case, a user modifies network connectivity rules of the user'snetwork-enabled device. In an example, a user defines a rule prescribingthat network connectivity is established using a network provider thatenables the fastest network access and the lowest network cost.

In some embodiments, network connectivity rules (or criteria) aredynamic. In an embodiment, network connectivity rules may vary with alocation of a network-enabled device. In an example, networkconnectivity rules in a first geographic location (e.g., New York, theUnited States of America) are different from network connectivity rulesin a second geographic location (e.g., Paris, France).

In some situations, a network-enabled device determines a location ofthe network enabled device with the aid of a global positioning system,such as global positioning service (GPS), and loads or downloads networkconnectivity rules for use at the location. In some cases, thenetwork-enabled device loads preset (or default) rules and subsequentlyupdates the rules with location-specific rules once network access hasbeen established using the default rules. The default rules may bestored on the network-enabled device.

Location-specific (location-based) rules may enable a user to optimizenetwork connectivity at various geographic locations. Network access inone location may be optimized using a set of rules that are differentfor optimizing network access in another location. As an example,network access in Paris may be optimum with the aid of a GSM providerthan a CDMA provider, even though a network-enabled device may be ableto access a network through either the GSM or CDMA provider. This may bethe case if, for example, a user has a plan with the GSM provider butnot the CDMA provider.

In some cases, rules may be time-based rules. Time-based rules providerules that vary as a function of time, such as time of day, day of week,week of month, month of year, and so on. In some cases, anetwork-enabled device uses one or more morning rules for testingnetwork connectivity in the morning, one or more afternoon rules fortesting network connectivity in the afternoon, and one or more eveningrules for testing network connectivity in the evening. Morning,afternoon and evening rules may vary based on the cost of networkaccess, the upload rate and/or the download rate for these time periods.

In some cases, rules may be bandwidth-based rules in which rules mayvary based on a predetermined level of bandwidth accessible to thenetwork-enabled device. For instance, if a network-enabled device hasexhausted its prescribed bandwidth through a network provider, then anetwork connectivity rule may require that the network-enabled deviceuse another network provider. Some rules may require certain networkconnectivity guidelines based on the bandwidth (i.e., available orconsumed data) available to a network-enabled device. In an example, ifa network device has not exhausted its allotted bandwidth (e.g., 10gigabits per month) through a first network provider, then the networkdevice will use the first network provider; however, if the networkdevice has exhausted its allotted bandwidth, then the network devicewill use a second network provider. This may be useful if the networkdevice will incur excess usage charges if the network device uses thefirst network provider.

In some embodiments, a network-enabled device connects to a networkthrough a peer device, such as another network-enabled device. Thus, thepeer device may behave as a network provider. In such cases, thenetwork-enabled device has rules that may require the network-enableddevice to connect to the peer device when certain conditions are met,such as when network connectivity is preferable through the peer devicethen through connectivity via a network provider. This may be the caseif, for example, the network-enabled device has exhausted its allottedbandwidth (or other usage restrictions) for a particular networkprovider, and network connectivity through that network provider wouldbe cost-prohibitive.

FIG. 6 shows a first network-enabled device 605 and a secondnetwork-enabled device 610. The second network-enabled device 610 hasconnected to a network provider 615 that in turn is connected to anetwork 620, such as an intranet or the Internet. The connection may bethrough a wired or wireless network interface of the firstnetwork-enabled device 605 and the second network-enabled device 610. Inthe illustrated example, the connection is through a wireless interfaceof the first network-enabled device 605 and the second network-enableddevice 610; the connection between the first network-enabled device 605and the second network-enabled device 610 is wireless (dashed two-wayarrow). The second network-enabled device 610, in some cases, hassuccessfully pinged a first server having a static IP address and asecond server having a static URL. In addition, the secondnetwork-enabled device 610 may have satisfied certain networkconnectivity rules, such as geographic-based rules (e.g., the secondnetwork-enabled device 610 has selected the network provider 615 basedon the geographic location of the second network-enabled device 610).

In some embodiments, a network-enabled device connects to a networkprovider (e.g., a router or a peer device) that is a trusted networkprovider—i.e., the network-enabled device trusts the network provider.Such trust may be established with the aid of a trust protocol. Forinstance, a user may generate a list of trusted network providers, orthe user's network-enabled device may maintain a record of networkproviders that the user has previously selected for use.

In other situations, the trust protocol may be provided through a systemhaving one or more servers that provide trust protocols to anetwork-enabled device. Such trust protocols may be location-based. Thetrust protocols may be included in the connectivity rules of thenetwork-enabled device, which may be manually or periodically updated.

In some embodiments, a first network-enabled device may communicate witha network (intranet or the Internet) by connecting to a secondnetwork-enabled device that is communicatively coupled to the network.The second network-enabled device in such a case may have connected to anetwork-provided and successfully pinged a first sever having a staticIP address and a second server having a static URL. The firstnetwork-enabled device may, in turn, provide network connectivity to athird, fourth, or more network-enabled devices. In some cases, the firstnetwork-enabled device may received updates (e.g., rules update,software update) from the network via the network connectivity of thesecond network-enabled device.

Network Credits

In another aspect of the invention, network credits are provided forenabling a network-enabled device to connect to a network through a peerdevice (e.g., another network-enabled device) that has connected to thenetwork. In some embodiments, network credits provide a network-enableddevice an incentive to provide network connectivity for anothernetwork-enabled device; the other network-enabled device in such casesmay prefer network connectivity through the peer device over a non-peerdevice type of network provider (e.g., router).

In an example, a first network-enabled device connects to a secondnetwork-enabled device that has successfully connected to a networkthrough a router (e.g., WiFi connection or connection through a CDMAaccess point). In some cases, network connectivity for the firstnetwork-enabled device through the second network-enabled device may bepreferable if it is cheaper than connectivity through a non-peer devicetype of network provider, or if the second network-enabled deviceprovides a preferable signal or bandwidth in comparison to the non-peerdevice type of network provider. This may be the case if the firstnetwork-enabled device has exhausted its allotted bandwidth through aparticular network provider, such as the router to which the secondnetwork-enabled device is connected. In exchange for providing networkconnectivity to the first network-enabled device, the secondnetwork-enabled device receives from the first network-enabled devicenetwork credits.

In some embodiments, network credits provide network-enabled devices anincentive to connect to a network through peer-to-peer connectivity(see, e.g., FIG. 6). In an embodiment, network credits are a promise forfuture payment, such as at a predetermined rate or a rate that is agreedto by users of network-enabled device at the time of peer-to-peerconnectivity. In another embodiment, network credits are a promise forfuture network use. In such a case, if a first network-enabled devicepays a second network-enabled device for network access using networkcredits from the first network-enabled device, the first network-enableddevice may provide the second network-enabled device network access at afuture point in time.

Network credits may be negotiated between network-enabled devices tocapture access use restrictions, such as bandwidth and usage time. Forinstance, if a first network-enabled device pays a secondnetwork-enabled device for network access using network credits, thenetwork credits may provide the second network-enabled device a certainbandwidth (e.g., 2 megabits/second for 30 minutes) of the firstnetwork-enabled device at a future point in time. Alternatively, thenetwork credits may be the promise for a payment of a predetermined ornegotiated sum of money. In some embodiments, the predetermined ornegotiated sum of money is lower than the cost of network connectivitythrough a non-peer device type of network provider.

Network Connectivity Systems

In another aspect of the invention, a system for establishing networkconnectivity for a network device comprises a network connectivitysystem configured to locate network providers. The network connectivitysystem is configured to establish a connection to a network provider,ping a first server having a static internet protocol (IP) address withthe aid of the network provider, ping a second server having a staticuniform resource locator (URL) with the aid of the network provider, anddetermine whether to maintain connectivity to said network providerbased on whether a response was received by said network device fromsaid first server and/or whether a response was received by said networkdevice from said second server.

In some cases, the network connectivity system is part of an electronicdevice, such as a portable electronic device, or associated with anelectronic device. The network connectivity system may be a sub-systemof a larger system. In an example, the network connectivity controlleris a network card and associated software in a portable electronicdevice. In another example, the network connectivity controller is astand-alone system configured to provide network connectivity toelectronic devices.

The network connectivity system includes one or more devices selectedfrom the group consisting of central processing unit (CPU), memory(e.g., flash memory), transmitter, and a bus (e.g., serial bus). Thetransmitter may be a radiofrequency (“RF”) transmitter oropto-electronic transmitter. The one or more devices or components maybe interconnected, such as by way of a circuit in the networkconnectivity system, or a system board (e.g., motherboard).

FIG. 4 shows a system 400 having an electronic device 405, a firstnetwork provider 410, second network provider 415, a first server 420and a second server 425, in accordance with an embodiment of theinvention. The first server 420 is in communication with the firstnetwork provider 410 and second network provider 415 through a firstnetwork 430, such as an intranet or the Internet 435. The second server425 is in communication with the first network provider 410 and secondnetwork provider 415 through a second network, such as the Internet 435.The first server 420 may be connected to the Internet 435.

The electronic device 405 includes a network connectivity system forconnecting the electronic device 405 to the first network provider 410and pinging the first server 420 and second server 425 or directing afirst data packet to the first server 420 and a second data packet tothe second server 425, as described above. The network controllerincludes computer-executable commands (see below) for facilitatingvarious methods described herein.

In some cases, The electronic device 405 is a portable electronicdevice, such as a laptop computer, tablet PC or Smart phone. In othercases, the electronic device 405 is a stationary electronic device, suchas a desktop computer or server. The electronic device 405 may connectto the first network provider 410 and second network provider via wiredor wireless modes of communication. As illustrated, the electronicdevice 405 communicates with the first network provider 410 and secondnetwork provider via wireless communication.

The first network provider 410 and second network provider 415 arewireless routers. In other cases, the first network provider 410 and/orsecond network provider 415 is a wired router or other device configuredto bring the electronic device 405 in communication with the network435. In addition, the system 400 may include other network providers incommunication with the network 435.

In an example, the electronic device 405 connects to the first networkprovider 410 and pings the first server 420 and second server 425. Ifthe electronic device 405 receives a response from the first server 420and second server 425, the electronic device 405 maintains itsconnection to the first network provider and a user may access theInternet 435. Otherwise, the electronic device 405 connects to thesecond network provider 410 and pings the first server 420 and secondserver 425 and awaits a response.

In cases in which a response is received from both the first server 420and second server 425, such as via the first network provider 410, theelectronic device 405 may determine whether to maintain connectivity tothe first network provider 410 in view of various network connectivityfactors provided herein. For example, the electronic device 405terminates connectivity to the first network provider 410 and connectsto the second network provider 415 if the network speed of the firstnetwork provider 410 is below a predetermined limit (e.g., 100 kbit/s).

The electronic device 405, or components (e.g., network controllers) ofthe electronic device 405, may include random-access memory (RAM) forenabling rapid transfer of information to and from a central processingunit (CPU), and to and from a storage module, such as one or morestorage units, including magnetic storage media (i.e., hard disks),flash storage media and optical storage media. Additionally, the systemmay include one or more storage units, one or more CPUs, one or moreRAMs, one or more read-only memories (ROMs), one or more communicationports (COM PORTS), one or more input/output (I/O) modules, such as anI/O interface, a network interface for enabling the system to interactwith an intranet, including other systems and subsystems, and theInternet, including the World Wide Web. The storage unit may include oneor more databases, such as a relational database. In some cases, thesystem further includes one or more of a data warehouse for storinginformation (e.g., network providers, network connectivity history) anda relational database. FIG. 5 shows a functional block diagramillustration of general purpose computer hardware platforms configuredfor use with methods and systems provided herein.

The electronic device 405, for example, includes a data communicationinterface for data packet communication and/or pining other systems,such as a server. In some situations, the electronic device 405 includesa central processing unit (CPU), in the form of one or more processors,for executing program instructions. The electronic device 405 mayinclude an internal communication bus, program storage and data storagefor various data files to be processed and/or communicated by thesystem, although the system may receive programming and data via networkcommunications. The hardware elements, operating systems and programminglanguages of such devices are conventional in nature, and it is presumedthat those skilled in the art are adequately familiar therewith. Ofcourse, device functions may be implemented in a distributed fashion ona number of similar platforms, to distribute the processing load (seebelow). Electronic devices and systems provided herein may includesubsystems and modules for distributing and/or allocating tasks.

In some embodiments, the electronic device 405 includes a networkcontroller having a processor for executing methods provided above. Theprocessor is configured to execute machine-readable code (source code orcompiled object code) to facilitate methods described in variousembodiments of the invention.

In some embodiments, the device 405 includes a user interface fordisplaying a list having one or more network providers to a user. Theuser interface in some cases is a graphical user interface (GUI). In anembodiment, the GUI shows a ranked list of network providers, with amore preferable network provider at the top of the list. In anotherembodiment, the GUI enables a user to select a network provided from thelist of network providers. In some situations, the list of networkproviders is generated with the aid of one or more network connectivitycriteria, as described above.

Hence, aspects of the methods outlined above may be embodied inprogramming. Program aspects of the technology may be thought of as“products” or “articles of manufacture” typically in the form ofexecutable code and/or associated data that is carried on or embodied ina type of machine readable medium. “Storage” type media may include anyor all of the tangible memory of the computers, processors or the like,or associated modules thereof, such as various semiconductor memories,tape drives, disk drives and the like, which may provide non-transitorystorage at any time for the software programming. All or portions of thesoftware may at times be communicated through the Internet or variousother telecommunication networks. Such communications, for example, mayenable loading of the software from one computer or processor intoanother, for example, from a management server or host computer into thecomputer platform of an application server. Media that may bear thesoftware elements include optical, electrical and electromagnetic waves,such as used across physical interfaces between local devices, throughwired and optical landline networks and over various air links. Thephysical elements that carry such waves, such as wired or wirelesslinks, optical links or the like, also may be considered as mediabearing the software. As used herein, unless restricted tonon-transitory, tangible “storage” media, terms such as computer ormachine “readable medium” refer to any medium that participates inproviding instructions to a processor for execution.

A machine readable medium may take many forms, including but not limitedto, a tangible storage medium, a carrier wave medium or physicaltransmission medium. Non-volatile storage media include, for example,optical or magnetic disks, such as any of the storage devices in anycomputer(s) or the like, such as may be used to implement the databases,etc. shown in the drawings. Volatile storage media include dynamicmemory, such as main memory of such a computer platform. Tangibletransmission media include coaxial cables; copper wire and fiber optics,including the wires that comprise a bus within a computer system.Carrier-wave transmission media may take the form of electric orelectromagnetic signals, or acoustic or light waves such as thosegenerated during radio frequency (RF) and infrared (IR) datacommunications.

Common forms of computer-readable media therefore include, for example:a floppy disk, a flexible disk, hard disk, magnetic tape, any othermagnetic medium, a CD-ROM, DVD or DVD-ROM, any other optical medium,punch cards paper tape, any other physical storage medium with patternsof holes, a RAM, a ROM, a PROM and EPROM, a FLASH-EPROM, any othermemory chip or cartridge, a carrier wave transporting data orinstructions, cables or links transporting such a carrier wave, or anyother medium from which a computer may read programming code and/ordata. Many of these forms of computer readable media may be involved incarrying one or more sequences of one or more instructions to aprocessor for execution.

Methods steps may be implemented by a program product, includingmachine-executable instructions, such as program code, for example, inthe form of program modules executed by systems or machines in networkedenvironments. Generally, program modules may include routines, programs,objects, components, data structures, etc., that perform particulartasks or implement particular abstract data types. Machine-executableinstructions, associated data structures and program modules representexamples of program code for executing steps of the methods disclosedherein. The particular sequence of such executable instructions orassociated data structures represent examples of corresponding acts forimplementing the functions described in such steps.

In some situations, systems and methods provide herein are practiced ina networked environment using logical connections to one or more remotecomputers having processors. Logical connections may include, forexample, a local area network (LAN) and/or a wide area network (WAN).Such networking environments may be found in office-wide orenterprise-wide computer networks, intranets and the Internet, and mayuse a wide variety of different communication protocols. Those skilledin the art will appreciate that such network computing environments mayencompass many types of computer system configurations, includingpersonal computers, hand-held devices, multi-processor systems,microprocessor-based or programmable consumer electronics, networkpersonal computers (PCs), servers, minicomputers, mainframe computers,and the like.

It should be noted that although the flowcharts provided herein (e.g.,FIGS. 1 and 2) show a specific order of method steps (also “steps”herein), it is understood that the order of these steps may differ fromwhat is depicted. Also two or more steps may be performed concurrentlyor with partial concurrence. Such variation may depend on the softwareand hardware systems chosen, and on designer choice. It is understoodthat all such variations are within the scope of the invention.Likewise, software and web implementations of the present inventioncould be accomplished with standard programming techniques with rulebased logic and other logic to accomplish the various database searchingsteps, correlation steps, comparison steps and decision steps.

EXAMPLES Example 1

A user is in an area with three WiFi routers within wireless range ofthe user's laptop computer. A user connects the user's laptop computerto a first WiFi router. The user's laptop computer pings a first serverhaving a static IP address and a second server having a dedicated URL(e.g., “Google.com”). Upon pinging the second server, a DNS serer innetwork communication with the first WiFi router resolves an IP addressof the second server. A ping packet is then sent to the second server atthe resolved IP address. If the user's laptop computer receives aresponse from the first and second servers, then the user's laptopcomputer maintains connectivity to first WiFi router. The user then usesthe web to check his or her email or search the Internet, for example.If the user's laptop computer does not receive a response from one orboth of the first and second servers, then the user's laptop computerconnects to a second WiFi router.

Example 2

A user is on a plane with a plurality of network access points (WiFihotspots). The user's Smart phone automatically scans for and generatesa list of access points. Next, the user's Smart phone connects to afirst network access point and pings a first server having a static IPaddress and a second server having a dedicated URL. Pinging the secondserver entails using the ping command with the URL as the destinationaddress (e.g., “ping www.Google.com”). The DNS server will resolve theIP address of the URL to then ping the second server with the resolvedIP address. If the user's Smart phone receives a response from both thefirst and second servers, then the user's Smart phone maintains itsconnection to the first network access point and the user accesses thenetwork. If the user's Smart phone does not receive a response from oneor both of the first and second servers, then the user's Smart phoneconnects to a second network access point and the steps above arerepeated.

Example 3

A tablet PC (e.g., iPad) has a first wireless interface configured tocommunicate with one or more WiFi routers and a second wirelessinterface configured to communicate with a GSM provider. The tablet PCconnects to a WiFi router using the first wireless interface and pings afirst server having a static IP address and a second server having astatic URL. Next, the tablet PC connects to a GSM provider using thesecond wireless interface and pings the first and second servers. Thetablet PC then assesses, with the aid of a processor of the tablet PC,network connectivity via the WiFi router and the GSM provider todetermine whether connectivity via the WiFi router and/or the GSMprovider meet certain predetermined network connectivity criteria (orrules). The tablet PC determines that network connectivity via the WiFirouter is preferable because it provides higher upload and downloadrates and is cheaper than connectivity via the GSP provider. The tabletPC then uses the WiFi router for Internet access.

It should be understood from the foregoing that, while particularimplementations have been illustrated and described, variousmodifications can be made thereto and are contemplated herein. It isalso not intended that the invention be limited by the specific examplesprovided within the specification. While the invention has beendescribed with reference to the aforementioned specification, thedescriptions and illustrations of embodiments of the invention hereinare not meant to be construed in a limiting sense. Furthermore, it shallbe understood that all aspects of the invention are not limited to thespecific depictions, configurations or relative proportions set forthherein which depend upon a variety of conditions and variables. Variousmodifications in form and detail of the embodiments of the inventionwill be apparent to a person skilled in the art. It is thereforecontemplated that the invention shall also cover any such modifications,variations and equivalents.

What is claimed is:
 1. A network device comprising: a plurality ofnetwork connectivity interfaces wherein at least two of said interfacesuse different communication protocols; a programmable processorprogrammed to perform: a) a first network connectivity request using oneof said network connectivity interfaces of the network device connectedto a first access point to ping a first server and to verify end-to-endconnectivity to the first server; b) a second network connectivityrequest using said one of said network connectivity interfaces of thenetwork device connected to the first access point to ping a secondserver and to verify end-to-end connectivity to the second server; c) adetermination whether to establish network connectivity using another ofsaid network connectivity interfaces based on whether a response wasreceived from said first server and whether a response was received fromsaid second server, wherein said another of said network connectivityinterfaces operates using a communication protocol different from acommunication protocol of said one of said network connectivityinterface and wherein said determination is also based on a networkconnectivity rule referencing a predetermined level of bandwidthaccessible to the network-enabled device and a remaining amount of dataavailable or consumed from its predetermined level; d) intermittentlyrepeating said steps a, b, c, and d to determine if failed end-to-endconnectivity is caused by an error with connection pathway, the firstserver, or the second server, and wherein connectivity to the firstserver or second server is maintained if a first predetermined datapacket matches a first received data packet and a second predetermineddata packet matches a second received data packet.
 2. The device ofclaim 1 wherein the programmable processor is configured to continue tosending connectivity requests until all network interfaces have beentested or at least one network pathway is confirmed for connectivity. 3.The device of claim 1 wherein the programmable processor is configured,based on connectivity pathway testing, determining if any connectivityerror is caused by the servers or the connectivity pathways, and rankingconnectivity pathway.
 4. The device of claim 3 wherein the programmableprocessor is configured to maintain connectivity with a networkconnectivity interface with a highest ranked connectivity pathway. 5.The device of claim 1, wherein at least one of said network connectivityinterface and said another network connectivity interface is anon-cellular, wireless data interface while the other is a cellular datainterface.
 6. The device of claim 1, wherein a data packet used for theconnectivity request for said first server comprises a ping packet. 7.The device of claim 1, wherein a data packet used for the connectivityrequest for said second server comprises a ping packet.
 8. The device ofclaim 1, wherein connectivity to a network provider is maintained if thefirst server responds to the network device in response to said pingingthe first server and/or the second server responds to the network devicein response to said pinging the second server.
 9. The device of claim 1,further comprising connecting to another network provider if the firstserver does not respond to the network device in response to saidpinging the first server and/or the second server does not respond tothe network device in response to said pinging the second server. 10.The device of claim 1, wherein a network provider is selected from thegroup consisting of a wireless router, Bluetooth router, wired router,cellular network router, radiofrequency (RF) device and optoelectronicdevice.
 11. The device of claim 1, further comprising: connecting to anadditional network provider; pinging the first server with the aid ofthe additional network provider; pinging the second server with the aidof the additional network provider; and determining whether to maintainconnectivity to the additional network provider based on whether aresponse was received by the network device from the first server and/orwhether a response was received by the network device from the secondserver.
 12. The device of claim 11, wherein determining whether tomaintain connectivity to the additional network provider is based onwhether a response was received by the network device from the firstserver and whether a response was received by the network device fromthe second server.
 13. The device of claim 11, wherein connecting tosaid additional network provider comprises terminating connectivity tosaid network provider.
 14. The device of claim 1, wherein a networkprovider is selected from the group consisting of a wireless router,Bluetooth router, wired router, cellular network router, radiofrequency(RF) device and optoelectronic device.
 15. The device of claim 1,wherein the first and second servers are send connectivity requestssimultaneously.
 16. A network device comprising: a plurality of networkconnectivity interfaces wherein at least two of said networkconnectivity interfaces use different communication protocols; aprogrammable processor programmed to perform: a) a first networkconnectivity request using one of said network connectivity interfacesof the network device connected to a first access point to ping a firstserver and to verify end-to-end connectivity to the first server; b) asecond network connectivity request using said one of said networkconnectivity interfaces of the network device connected to the firstaccess point to ping a second server and to verify end-to-endconnectivity to the second server; c) a determination whether toestablish network connectivity using another of said networkconnectivity interfaces based upon any one network termination conditionselected from the group consisting of (a) a network cost of anothernetwork provider is lower than a network cost of said network providerwherein said network connectivity interface operates differently fromsaid another network connectivity interface; intermittently repeatingsaid step to ping the first server and said determining step to verifynetwork connectivity, wherein said another of said network connectivityinterfaces operates using a communication protocol different from acommunication protocol of said one of said network connectivityinterface and wherein said determination is also based on a networkconnectivity rule referencing a predetermined level of bandwidthaccessible to the network-enabled device and a remaining amount of dataavailable or consumed from its predetermined level; d) intermittentlyrepeating said steps a, b, c, and d to determine if failed end-to-endconnectivity is caused by an error with connection pathway, the firstserver, or the second server, and wherein connectivity to the networkprovider is maintained if a first predetermined data packet matches afirst received data packet and a second predetermined data packetmatches a second received data packet.
 17. The device of claim 16,wherein the determining step is based upon at least any two networktermination conditions selected from said group.
 18. The device of claim17, wherein the determining step is based upon at least any threenetwork termination conditions selected from said group.
 19. The deviceof claim 16, further comprising connecting to another network provider.20. The device of claim 16, wherein connectivity between the networkdevice and the network provider is via a wired or wireless networkaccess point.